﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    
	if (!string.IsNullOrEmpty(HttpContext.Current.User.Identity.Name))
	{
%>
Welcome <b>
	<%: HttpContext.Current.User.Identity.Name %></b>! [<%: Html.ActionLink("Вийти", "Logoff", "Account") %>]
<%
	}
	else
	{
%>
[<%: Html.ActionLink("Ввійти", "LogOn", "Account")%>]
<%
	}
%>
